<?php 
$sql =	"SELECT
			  c.page_id,
	
			  d.title,
			  d.description,
			  d.meta_key,
			  d.meta_description	
		  FROM
			  pages AS c,
			  page_description AS d
		  WHERE
		  
			  c.page_id = d.page_id
			  AND
			  d.lang_id = '".$_SESSION['lang_id']."'
			  AND
			  c.sef_url = '".$sef_url."' 
			  AND c.published
		  ";
$result = query($sql);
$row = mysql_fetch_object($result);


head(sth($row->title),sth($row->meta_description),sth($row->meta_key));

?>


		<div id="content">
			
			<div class="left full">
				<h1><?=stripslashes($row->title)?></h1>
				 
				 <?=stripslashes($row->description)?>
			</div>
            
            <div class="left narrow">
				
				<div id="bigtab1" class="bigprivate redcolor">
					  <?=__PRIVATE_ACCOUNTS?>
				</div>
				
				<div id="bigtab2" class="bigcorporate">
					 <?=__Corporate_ACCOUNTS?>
				</div>
				
			</div>
			
			<div class="right wide">
				
				<div class="bigarrow">
				</div>
				
				<div class="bigdivs">
					<div id="bigdiv1">
						
                        
                        <?php
                		$sql_tab =	"SELECT
						 
						  d.title,
						  d.description	
					  FROM
						  pages AS c,
						  page_description AS d
					  WHERE
					  
						  c.page_id = d.page_id
						  AND
						  d.lang_id = '".$_SESSION['lang_id']."'
						  AND
						  c.sef_url = 'private-accounts' 
						  AND c.published
					  ";
					$result_tab = query($sql_tab);
					$row_tab = mysql_fetch_object($result_tab);
				
						
					?>
										
						
					<?=stripslashes($row_tab->description)?>
						
					</div>
					
					<div id="bigdiv2">
						
						
                        <?php
                		$sql_tab =	"SELECT
						 
						  d.title,
						  d.description	
					  FROM
						  pages AS c,
						  page_description AS d
					  WHERE
					  
						  c.page_id = d.page_id
						  AND
						  d.lang_id = '".$_SESSION['lang_id']."'
						  AND
						  c.sef_url = 'corporate-accounts' 
						  AND c.published
					  ";
						$result_tab = query($sql_tab);
						$row_tab = mysql_fetch_object($result_tab);
					
							
						?>
               
						
						<?=stripslashes($row_tab->description)?>

						
					</div>
				</div>
				
				
			</div>
            
                             
       </div>
	
<?php

foot();
?>